import {NavLink, Outlet} from "react-router-dom";

const DemoHooks = () => {
  return (<>
  <h2>1.Hooks</h2>
    <h2>1.Hooks</h2>
    <nav className="nav">
      <NavLink to='/Hooks/useCallback'>useCallback</NavLink>
    </nav>
    <div className="right">
      <Outlet />
    </div>
  </>)
}

export default DemoHooks